function AjaxGetOrderItem(tradeNo, loading_index) {
    token = localStorage.wdczy_token;
    var post_url = toRoute('api/order/item');
    $.post(post_url, {'token': token, 'tradeNo': tradeNo}, function (data) {
        if (data.errorCode == '200') {
            if (data.data.state == 1) {
                layer.close(loading_index);
                $('.tk_payed .top p').html(parseFloat(data.data.money) + '元');
                payedOk();
            } else {
                setTimeout(function () {
                    AjaxGetOrderItem(token, tradeNo);
                }, 1000);
            }
        }
    }, 'json');
}
